{extend name="default/base/base_seller" /}
{block name="seller_main"}


<div class="dssc-index">
    <div class="top-container">
        <div class="basic-info">
            <dl class="dssc-seller-info">
                <dt class="store-logo">
                   <img src="{:get_store_logo($store_info.store_avatar,'store_avatar')}"/>
                </dt>
              <!--   <dd class="seller-name">
              
                  <h3>大客户：{$Think.session.seller_name}</h3>
                  <h3>邀请码：{$member_info.invite_code}</h3>
              </dd> -->

                  <dd class="seller-name">
                 <h3>{$Think.session.seller_name}</h3>
                </dd>
        <dd style="margin-left: -17px">{$Think.lang.user_name}：<strong>{$Think.session.member_name}</strong></dd>
                <dd style="width: 192px;">{$Think.lang.last_login}：<strong>
                        {$member_info.member_logintime|date="Y-m-d H:i:s",###}
                            </strong> </dd>
                 <?php if($_SESSION['home']['store_seller_type']!=2){ ?>
                <dd style="margin-left: 65px;">邀请码{$Think.lang.ds_colon}{$member_info.invite_code}</dd>
                <?php }?>
                
            </dl>              
            </dl>
        </div>
    </div>
    <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
    <thead>
        <tr>
            <th colspan="20">个人信息</th>
        </tr>
    </thead>
       <tbody>
           <tr>
               <th>大客户账号：</th>
               <td>{$member_info.member_name}</td>
               <th>QQ号：</th>
               <td>{$member_info.member_qq}</td>
               <th>App最后登录时间：</th>
               <td><?php if($member_info['member_logintime']==0){?> 
                                未登录
                                <?php }else{ ?>
                        {$member_info.member_logintime|date="Y-m-d H:i:s",###}
                            <?php } ?></td>
           </tr>
           <tr>
               <th>大客户昵称：</th>
               <td>{$member_info.member_nickname}</td>
               <th>创建时间：</th>
               <td>{$member_info.member_addtime|date="Y-m-d H:i:s",###}</td>
               <th>App最后登录ip：</th>
               <td> <?php if(empty($member_info['member_login_ip'])){?> 
                                未登录
                                <?php }else{ ?>
                        {$member_info.member_login_ip}
                            <?php } ?></td>
           </tr>
       </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
    <thead>
        <tr>
            <th colspan="20">企业信息</th>
        </tr>
    </thead>
       <tbody>
           <tr>
               <th>企业名称：</th>
               <td>{$member_info.enterprise_name}</td>
               <th>企业类型：</th>
               <td>{$member_info.enterprise_type_name}</td>
               <th>企业地址：</th>
               <td>{$member_info.contact_title}</td>
           </tr>
           <tr>
               <th>联系人：</th>
               <td>{$member_info.contact_name}</td>
               <th>联系人职位：</th>
               <td>{$member_info.contact_phone}</td>
               <th>联系人手机号：</th>
               <td>{$member_info.contact_landline}</td>
           </tr>
           <tr>
               <th>企业座机：</th>
               <td>{$member_info.contact_address}</td>
               <th></th>
               <td></td>
               <th></th>
               <td></td>
           </tr>
       </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
    <thead>
        <tr>
            <th colspan="20">授信信息</th>
        </tr>
    </thead>
       <tbody>
           <tr>
               <th>授信状态：</th>
               <td><?php if($member_info['credit_status']==0){?> 
                                未授信
                                <?php }else{ ?>
                                已授信
                            <?php } ?></td>
               <th>授信额度</th>
               <td> <?php if($member_info['credit_status']==0){?> 
                                未授信
                                <?php }else{ ?>
                              {$member_info.credit_num}

                            <?php } ?></td>
               <th>授信结束时间：</th>
               <td><?php if($member_info['credit_status']==0){?> 
                                未授信
                                <?php }else{ ?>
                              {$member_info.credit_end_time|date="Y-m-d H:i:s",###}
                                
                            <?php } ?></td>
           </tr>
       </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
    <thead>
        <tr>
            <th colspan="20">营业执照</th>
        </tr>
    </thead>
       <tbody>
           <tr>
                 <th><td><img id='licenses' src="{$http_name}/{$member_info.enterprise_license}" width="400" height="300" /></td></th> 
           </tr>
       </tbody>
</table>
      
<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
 
  </div>
</div>
{/block}
